package org.hxyjs.entity;

import java.io.Serializable;

/**
 * @author 
 */
public class Others implements Serializable {
    private String ono;

    private String ano;

    private String oname;

    private String oimg;

    private String oid;

    private String opwd;

    private String oiddr;

    private String opic;

    public String getOpic() {
        return opic;
    }

    public void setOpic(String opic) {
        this.opic = opic;
    }

    private static final long serialVersionUID = 1L;

    public String getOno() {
        return ono;
    }

    public void setOno(String ono) {
        this.ono = ono;
    }

    public String getAno() {
        return ano;
    }

    public void setAno(String ano) {
        this.ano = ano;
    }

    public String getOname() {
        return oname;
    }

    public void setOname(String oname) {
        this.oname = oname;
    }

    public String getOimg() {
        return oimg;
    }

    public void setOimg(String oimg) {
        this.oimg = oimg;
    }

    public String getOid() {
        return oid;
    }

    public void setOid(String oid) {
        this.oid = oid;
    }

    public String getOpwd() {
        return opwd;
    }

    public void setOpwd(String opwd) {
        this.opwd = opwd;
    }

    public String getOiddr() {
        return oiddr;
    }

    public void setOiddr(String oiddr) {
        this.oiddr = oiddr;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        Others other = (Others) that;
        return (this.getOno() == null ? other.getOno() == null : this.getOno().equals(other.getOno()))
            && (this.getAno() == null ? other.getAno() == null : this.getAno().equals(other.getAno()))
            && (this.getOname() == null ? other.getOname() == null : this.getOname().equals(other.getOname()))
            && (this.getOimg() == null ? other.getOimg() == null : this.getOimg().equals(other.getOimg()))
            && (this.getOid() == null ? other.getOid() == null : this.getOid().equals(other.getOid()))
            && (this.getOpwd() == null ? other.getOpwd() == null : this.getOpwd().equals(other.getOpwd()))
            && (this.getOiddr() == null ? other.getOiddr() == null : this.getOiddr().equals(other.getOiddr()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getOno() == null) ? 0 : getOno().hashCode());
        result = prime * result + ((getAno() == null) ? 0 : getAno().hashCode());
        result = prime * result + ((getOname() == null) ? 0 : getOname().hashCode());
        result = prime * result + ((getOimg() == null) ? 0 : getOimg().hashCode());
        result = prime * result + ((getOid() == null) ? 0 : getOid().hashCode());
        result = prime * result + ((getOpwd() == null) ? 0 : getOpwd().hashCode());
        result = prime * result + ((getOiddr() == null) ? 0 : getOiddr().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", ono=").append(ono);
        sb.append(", ano=").append(ano);
        sb.append(", oname=").append(oname);
        sb.append(", oimg=").append(oimg);
        sb.append(", oid=").append(oid);
        sb.append(", opwd=").append(opwd);
        sb.append(", oiddr=").append(oiddr);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}